// components/userShoppingInfo/userShoppingInfo.js
var app = getApp();

const defaultStyle = {
    fullScreen: false
};

Component({
    /**
   * 组件的属性列表
   */
    properties: {
        componentData: {
            type: Object,
            observer(newVal, oldVal, changePath) {
                this.setData({
                    buylist: newVal
                });
            }
        }
    },
    /**
   * 组件的初始数据
   */
    data: {
        bulistStyle: {
            ...defaultStyle
        }
    },
    /**
   * 组件的方法列表
   */
    methods: {},
    lifetimes: {
        ready: function() {
            let that = this;
            that.setData({
                domain: app.globalData.domain.slice(0, -10)
            });
        }
    }
});